package com.sb.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sb.entity.BaseObject;

import java.util.ArrayList;
import java.util.List;

/**
 * 个人基本资料
 * Created by wujunzhou on 2017/10/27.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Account extends BaseObject{
//    @JsonProperty("user_id")
    private String userId;//用户 id
    private String userSource;//用户来源
    private String sessionId;//sessionId
    //    @JsonProperty("customer_no")
    private String customerNo;//个人编号
    private String name;//姓名
//    @JsonProperty("idcard_type")
    private String idcardType;//身份类别
    private String idcard;//身份证号
    private String gender;//性别
    private String birth;//出生日期
    private String nation;//民族
//    @JsonProperty("insured_date")
    private String insuredDate;//参保日期
//    @JsonProperty("person_status")
    private String personStatus;//人员状态 在职，退休
//    @JsonProperty("person_type")
    private String personType;//人员类别 普通人员，干部
    private String education;//文化程度
//    @JsonProperty("account_property")
    private String accountProperty;//户口性质
//    @JsonProperty("domicile_place")
    private String domicilePlace;//户口所在地
    private String address;//通讯地址
    private String phone;//联系电话
//    @JsonProperty("social_security_name")
    private String socialSecurityName;//社保机构名称
//    @JsonProperty("medicare_balance")
    private String medicareBalance;//医疗账户余额
//    @JsonProperty("payment_months")
    private String paymentMonths;//累计缴纳月数
//    @JsonProperty("pension_balance")
    private String pensionBalance;//养老账户余额

    public Account() {
        flowList = new ArrayList<>();
        insuranceList = new ArrayList<>();
        medicalConsumeList = new ArrayList<>();
        endowmentAccountList = new ArrayList<>();
    }

    //流水
    @JsonProperty("flows")
    private List<Flow> flowList;
    //险种信息
    @JsonProperty("insurances")
    private List<Insurance> insuranceList;
    //
    @JsonProperty("medicalConsume")
    private List<MedicalConsume> medicalConsumeList;
    @JsonProperty("endowmentAccount")
    private List<EndowmentAccount> endowmentAccountList;

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public List<Flow> getFlowList() {
        return flowList;
    }

    public List<Insurance> getInsuranceList() {
        return insuranceList;
    }

    public List<MedicalConsume> getMedicalConsumeList() {
        return medicalConsumeList;
    }

    public List<EndowmentAccount> getEndowmentAccountList() {
        return endowmentAccountList;
    }

    public String getUserSource() {
        return userSource;
    }

    public void setUserSource(String userSource) {
        this.userSource = userSource;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcardType() {
        return idcardType;
    }

    public void setIdcardType(String idcardType) {
        this.idcardType = idcardType;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getInsuredDate() {
        return insuredDate;
    }

    public void setInsuredDate(String insuredDate) {
        this.insuredDate = insuredDate;
    }

    public String getPersonStatus() {
        return personStatus;
    }

    public void setPersonStatus(String personStatus) {
        this.personStatus = personStatus;
    }

    public String getPersonType() {
        return personType;
    }

    public void setPersonType(String personType) {
        this.personType = personType;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getAccountProperty() {
        return accountProperty;
    }

    public void setAccountProperty(String accountProperty) {
        this.accountProperty = accountProperty;
    }

    public String getDomicilePlace() {
        return domicilePlace;
    }

    public void setDomicilePlace(String domicilePlace) {
        this.domicilePlace = domicilePlace;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSocialSecurityName() {
        return socialSecurityName;
    }

    public void setSocialSecurityName(String socialSecurityName) {
        this.socialSecurityName = socialSecurityName;
    }

    public String getMedicareBalance() {
        return medicareBalance;
    }

    public void setMedicareBalance(String medicareBalance) {
        this.medicareBalance = medicareBalance;
    }

    public String getPaymentMonths() {
        return paymentMonths;
    }

    public void setPaymentMonths(String paymentMonths) {
        this.paymentMonths = paymentMonths;
    }

    public String getPensionBalance() {
        return pensionBalance;
    }

    public void setPensionBalance(String pensionBalance) {
        this.pensionBalance = pensionBalance;
    }
}